package com.cw.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import com.alibaba.excel.annotation.ExcelProperty;

/**
 * @author ly
 * @since 2021-09-03
 */
@ApiModel(value ="")
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("EXAMINE_SPECIAL")
public class ExamineSpecial implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId("id")
    private String id;

    @ApiModelProperty(value = "处方号")
    @ExcelProperty(value = "CLINIC_CODE")
    @TableField("CLINIC_CODE")
    private String clinicCode;

    @ApiModelProperty(value = "检验内容")
    @ExcelProperty(value = "EXAMINE_NAME")
    @TableField("EXAMINE_NAME")
    private String examineName;

    @ApiModelProperty(value = "创建时间")
    @ExcelProperty(value = "CREATE_TIME")
    @TableField("CREATE_TIME")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "处理日期")
    @ExcelProperty(value = "EXECUTION_TIME")
    @TableField("EXECUTION_TIME")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime executionTime;

    @ApiModelProperty(value = "編碼")
    @TableField("CODE")
    private String code;

}
